/*
 * create on 2008-8-22
 * Copy right (2008)
 * Author Tan Nailiang
 * HNA Systems All rights reserved
 */
package com.myway.dto.domain;

import java.io.Serializable;

/**
 * @author nl_tan
 */
public class FlightCriteria implements Serializable {

    private String travlType;
    /**
     * 出发地，必须设置
     */
    private String orgCity;

    /**
     * 目的地 必须设置
     */
    private String dstCity;

    /**
     * 航班日期 必须设置
     */
    private String flightDate;

    /**
     * 航班到达日期
     */
    private String arrDate;
    /**
     * 航空公司 默认为MJ
     */
    private String airline = "MJ";

    /**
     * 是否经停
     */
    private boolean direct = true;
    /**
     * 经停次数
     */
    private int stopNumber;

    /**
     * 是否ET
     */
    private boolean eticket = true;

    /**
     * 设定是否多查几天以后的航班
     */
    private int dayAhead = 0;

    /**
     * 航班号
     */
    private String flightNo;
    /**
     * 日历查询需要参数前几天
     */
    private int from;
    /**
     * 日历查询参数后几天
     */
    private int to;

    private String orgCn;

    private String dstCn;

    private String newDate;

    /**
     * 乘客数量
     */

    private int adult;

    private int child;

    private int infant;

    public int getFrom() {
        return from;
    }

    public void setFrom(int from) {
        this.from = from;
    }

    public int getTo() {
        return to;
    }

    public void setTo(int to) {
        this.to = to;
    }

    public String getNewDate() {
        return newDate;
    }

    public void setNewDate(String newDate) {
        this.newDate = newDate;
    }

    public String getOrgCity() {
        return orgCity;
    }

    public void setOrgCity(String orgCity) {
        this.orgCity = orgCity;
    }

    public String getDstCity() {
        return dstCity;
    }

    public void setDstCity(String dstCity) {
        this.dstCity = dstCity;
    }

    public String getFlightDate() {
        return flightDate;
    }

    public void setFlightDate(String flightDate) {
        this.flightDate = flightDate;
    }

    public String getArrDate() {
        return arrDate;
    }

    public void setArrDate(String arrDate) {
        this.arrDate = arrDate;
    }

    public String getOrgCn() {
        return orgCn;
    }

    public void setOrgCn(String orgCn) {
        this.orgCn = orgCn;
    }

    public String getDstCn() {
        return dstCn;
    }

    public void setDstCn(String dstCn) {
        this.dstCn = dstCn;
    }

    public String getAirline() {
        return airline;
    }

    public void setAirline(String airline) {
        this.airline = airline;
    }

    public boolean isDirect() {
        return direct;
    }

    public void setDirect(boolean direct) {
        this.direct = direct;
    }

    public int getStopNumber() {
        return stopNumber;
    }

    public void setStopNumber(int stopNumber) {
        this.stopNumber = stopNumber;
    }

    public boolean isEticket() {
        return eticket;
    }

    public void setEticket(boolean eticket) {
        this.eticket = eticket;
    }

    public int getDayAhead() {
        return dayAhead;
    }

    public void setDayAhead(int dayAhead) {
        this.dayAhead = dayAhead;
    }

    public String getFlightNo() {
        return flightNo;
    }

    public void setFlightNo(String flightNo) {
        this.flightNo = flightNo;
    }

    public String getTravlType() {
        return travlType;
    }

    public void setTravlType(String travlType) {
        this.travlType = travlType;
    }

    public int getAdult() {
        return adult;
    }

    public void setAdult(int adult) {
        this.adult = adult;
    }

    public int getChild() {
        return child;
    }

    public void setChild(int child) {
        this.child = child;
    }

    public int getInfant() {
        return infant;
    }

    public void setInfant(int infant) {
        this.infant = infant;
    }

    @Override
    public String toString() {
        return "FlightCriteria{" +
                "travlType='" + travlType + '\'' +
                ", orgCity='" + orgCity + '\'' +
                ", dstCity='" + dstCity + '\'' +
                ", flightDate='" + flightDate + '\'' +
                ", arrDate='" + arrDate + '\'' +
                ", airline='" + airline + '\'' +
                ", direct=" + direct +
                ", stopNumber=" + stopNumber +
                ", eticket=" + eticket +
                ", dayAhead=" + dayAhead +
                ", flightNo='" + flightNo + '\'' +
                ", from=" + from +
                ", to=" + to +
                ", orgCn='" + orgCn + '\'' +
                ", dstCn='" + dstCn + '\'' +
                ", newDate='" + newDate + '\'' +
                ", adult=" + adult +
                ", child=" + child +
                ", infant=" + infant +
                '}';
    }
}
